import datetime

import base
from saas_main import models

# models.UserRightConfig.objects.create(
#     category=2,
#     title="vip收费版",
#     price=299,
#     project_num=3,
#     project_member=2,
#     project_space=20,
#     single_file_space=5
# )
# datetime_list = [
#     datetime.datetime.now() - datetime.timedelta(4),
#     datetime.datetime.now() + datetime.timedelta(4),
#     None
# ]
# for t in datetime_list:
#     models.UserRight.objects.create(
#         user_id=4,
#         right_id=1,
#         end_time=t
#     )
# create_pros = models.Project.objects.filter(creator=4)
# print(create_pros)

# models.IssuesReply.objects.create(
#     reply_type=1,
#     issues_id=6,
#     content='这是一条修改记录',
#     creator_id=4
#
# )

models.IssuesReply.objects.create(
    reply_type=1,
    issues_id=6,
    content='这是一条子级修改记录',
    creator_id=4,
    reply_id=1

)
